package com.young.mylib.asynServer.asynHttpServer;

/**
 * Created by Young on 2018/10/17.
 */

public class Constants {
    /**
     * Http response status ok
     */
    public static int HTTP_RESPONSE_STATUS_OK = 100;
    /**
     * http未知错误
     */
    public static int HTTP_RESPONSE_STATUS_UNKNOWN_ERROR = 101;
    /**
     * http post body为空
     */
    public static int HTTP_RESPONSE_STATUS_BODY_IS_NULL = 102;
    /**
     * http post body json格式错误
     */
    public static int HTTP_RESPONSE_STATUS_BODY_IS_ERROR = 103;
    /* 设备状态，0—离线，1—在线, 3—稼动，4—点停*/
    public static int DEV_CONDITION_OFFLINE = 0, DEV_CONDITION_ONLINE = 1, DEV_CONDITION_ACTIVATION = 3, DEV_CONDITION_FAIL = 4;
}
